<template>
  <div>
    <h2>这是子组件</h2>
    <GrandChild></GrandChild>
  </div>
</template>

<script setup lang="ts">
import GrandChild from './GrandChild.vue';
</script>

<style scoped>
h2 {
  color: red;
}
</style>